

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Sky Window API - SKY-MAP</title>
</head>
<body>

<h1>Sky Window API</h1>

By using this API you can easily add dynamic sky window on your web page.

<hr/>
Example #1:
<code>
<pre>
&lt;IFRAME SRC="http://server1.sky-map.org/skywindow?object=M100&zoom=8&img_source=SDSS" WIDTH=400 HEIGHT=320&gt;
&lt;/IFRAME&gt;
</pre>
</code>

<IFRAME SRC="skywindow?object=M100&zoom=8&img_source=SDSS" WIDTH=400 HEIGHT=320>
If you can see this, your browser doesn't 
understand IFRAME.  However, we'll still 
<A HREF="skywindow.jsp?object=M100&zoom=8&img_source=SDSS">link</A> 
you to the file.
</IFRAME>
<br/><br/>
Comments:<br /><br />
There are several parameters listed after the "?" in url 
<code>"http://server1.sky-map.org/skywindow.jsp?object=M100&zoom=8&img_source=SDSS"</code>: object, zoom and img_source. 
These parameters define what will be demonstrated in the window and how. 
<b>The list of all possible parameters is available at 
<a href="SiteLinker_V1.0.html">The Site Linker API Documentation</a>. </b><br /><br />
The size of the window may be controlled by WIDTH and HEIGHT attributes of IFRAME. In this particular example WIDTH=400 and HEIGHT=320.
<hr/>
Example #2:
<code>
<pre>
&lt;table width=400 border=1&gt;
    &lt;tr&gt;
        &lt;td&gt;
            &lt;font color="#gray" size=-1&gt;
            The coordiantes of the center of this image are:&lt;br /&gt;
            &nbsp;&nbsp;&nbsp;&nbsp;Right ascension = 00h 42m 32s&lt;br /&gt;
            &nbsp;&nbsp;&nbsp;&nbsp;Declination = 41° 19' 53"&lt;br /&gt;
            This image is generated automatically by sky-map.org server. 
            Ellipses on the image show the approximate positions of galaxies. 
            Big ellipse in the center of the image shows the 
            &lt;/font&gt;&lt;font color=black size=-1>Andromeda Galaxy (M31). 
            &lt;/font&gt;
        &lt;/td>
    &lt;/tr>
    &lt;tr&gt;
        &lt;td&gt;
            &lt;IFRAME SRC="http://server1.sky-map.org/skywindow?ra=00 42 32&de=41 19 53&zoom=4" WIDTH=400 HEIGHT=320" WIDTH=400 HEIGHT=320&gt;
            &lt;/IFRAME&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;
</pre>
</code>

    <table width=400 border=1>
        <tr>
            <td>
                <font color=gray size=-1>
                The coordiantes of the center of this image are:<br />
                &nbsp;&nbsp;&nbsp;&nbsp;Right ascension = 00h 42m 32s<br />
                &nbsp;&nbsp;&nbsp;&nbsp;Declination = 41° 19' 53"<br />
                This image is generated automatically by sky-map.org server. 
                Ellipses on the image show the approximate positions of galaxies. 
                Big ellipse in the center of the image shows the </font><font color=black size=-1>Andromeda Galaxy (M31). 
                </font>
            </td>
        </tr>
        <tr>
            <td>
                <iframe src="skywindow?ra=00 42 32&de=41 19 53&zoom=4"
                    width="400" height="320">If you can see this, your browser doesn't understand IFRAME.
                    However, we'll still <a href="skywindow.jsp?object=M100&zoom=8&img_source=SDSS">
                        link</a> you to the file. </iframe>
            </td>
        </tr>
    </table>
<br/><br/>
<hr/>


<script type="text/javascript">
document.write(unescape("%3Cscript src='http://www.google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try{var pageTracker=_gat._getTracker("UA-1162068-1");pageTracker._trackPageview();}catch(err){}
</script>
   
</body>
</html>
